﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel; 
namespace Demo.ConsoleHost
{
    class Program
    {
        static void Main(string[] args)
        {
            var sh = new ServiceHost(typeof(Demo.ServiceImplementation.CalculatorService));
            sh.Open(); 
            Console.ReadLine();
            sh.Close();
        }
    }
}
